package net.dgg.dggcloud.service.iboss.service.sc;

import net.dgg.dggcloud.service.common.base.service.BaseService;
import net.dgg.dggcloud.service.iboss.dao.sc.CompletedAllocationDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @class_name: CompletedAllocationService
 * @package: net.dgg.dggcloud.service.iboss.service.sc
 * @describe: TODO 已分配记录
 * @author: 黄文娟
 * @creat_date: 2018/7/24
 * @creat_time: 11:00
 **/
@Service
public class CompletedAllocationService extends BaseService{
    @Autowired
    private CompletedAllocationDao completedAllocationDao;

    public List<Map> queryCompletedAllocationList(Map map) {
        List<Map> list = completedAllocationDao.queryCompletedAllocationList(map);
        return list;
    }

    public Integer countCompletedAllocationByMap(Map map) {
        return completedAllocationDao.countCompletedAllocationByMap(map);
    }
}
